package com.guli.auth.feign;

import com.guli.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/*
 * @Author 罗
 * @date 2020/10/18 - 2:40 下午
 */
@FeignClient(name="aliyun-oss-service")
public interface AliServiceFeignClient {

    @GetMapping("/message/sendMessage")
    public R sendMessage(@RequestParam("phoneNumber") String phoneNumber, @RequestParam("code") String code);

}
